#include <string>//Stud.h

using namespace std;

class Stud
{
private:
    string id;
    string name;
    double score;
    static double sum;
    static int num;
public:
    void setdata();
    void print();
    static void avg();
    friend void display(Stud &);
};
